﻿using Csla;
using System;

namespace Ent.Inscripcion.Core.Core
{
    [Serializable]
    public class HorarioTutoriaCriterio : BusinessBase<HorarioTutoriaCriterio>
    {
        #region Business Methods

        private static PropertyInfo<string> NivelIdProperty = RegisterProperty<string>(o => o.NivelId, "Nivel");
        public string NivelId
        {
            get { return GetProperty(NivelIdProperty); }
            set { SetProperty(NivelIdProperty, value); }
        }

        private static PropertyInfo<string> DiaIdProperty = RegisterProperty<string>(o => o.DiaId, "Dia");
        public string DiaId
        {
            get { return GetProperty(DiaIdProperty); }
            set { SetProperty(DiaIdProperty, value); }
        }
        #endregion

        

        #region Factory Methods

        public static HorarioTutoriaCriterio NewHorarioTutoriaCriterio()
        {
            return DataPortal.Create<HorarioTutoriaCriterio>();
        }

        

        private HorarioTutoriaCriterio()
        { /* Require use of factory methods */ }

        #endregion


    }

}